package appapi.Vo.brider;


import appapi.common.UpdateGroup;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author dhq
 * @version 1.0
 * @date 2023/9/15  10:43
 */
@Data
@ApiModel("工段id和名称")
public class ScetionNameAndIdVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value="工段编号")
    @NotNull(message = "类别ID不能为空", groups = {UpdateGroup.class})
    private Long sectId;

    /**
     * 工段名称
     */
    @ApiModelProperty(value="工段名称")
//    @NotNull(message = "工段名称不能为空")
    private String sectName;


    /**
     * 工段编号
     */
    @ApiModelProperty(value="工段编号")
    private String sectNo;
}
